<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="css/reset.css">
  <link rel="stylesheet" href="css/index.css">
  <!--[if IE 9]>
  <link rel="stylesheet" href="css/iestyle.css">
  <![endif]-->
</head>
<body>
  <div class="main-box">
    <div class="title">
      <div class="title-left fl">
        <img class='fl'  src="image/logo.png">
        <p>如何写好作文的开头和结尾和如何写好作文的开头和结尾</p>
      </div>
      <div class="title-right fr">
        <img class='fr' src="image/backTo.png">
      </div>
    </div>
    <div class="main clear">
      <div class="videoBox fl"></div>
      <div class="commentBox fr">
        <div class="commentTitle">
          <h2>主讲人：万芳老师<small>日期：xxxx-xx-xx xx:xx</small></h2>
          <p class="typeTitle">讨论</p>
        </div>
        <ul class="commentList">
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
          <li><span>芒果：</span>老师，示例文字示例文字示例文字示例文字示例文字示例文字示例文字</li>
        </ul>
      </div>
    </div>
    <div class="footer">
      <input class="textInp" type="text" placeholder="发表留言......">
      <input class="btn" type="button" value="发送">
    </div>
  </div>
  <script>
    var oCommentTitle = document.getElementsByClassName('commentTitle')[0];
    var oH2 = oCommentTitle.getElementsByTagName('h2')[0];
    var oTypeTitle = oCommentTitle.getElementsByTagName('p')[0];
    var oFooter = document.getElementsByClassName('footer')[0];
    oH2.style.lineHeight = oH2.offsetHeight + "px";
    oTypeTitle.style.lineHeight = oTypeTitle.offsetHeight + "px";
//    oFooter.style.lineHeight = oFooter.offsetHeight + "px";
  </script>
</body>
</html>